"use client";

import * as React from "react";
import { Viewer } from "@bytemd/react";
import { plugins } from "./config";

export interface BytemdViewerProps {
  value: string;
}

export const BytemdViewer = ({ value }: BytemdViewerProps) => {
  return <Viewer value={value} plugins={plugins} />;
};
